package com.ruoyi.cs.base.customer.service;

import com.ruoyi.cs.base.customer.domain.CustomerInfo;

import java.util.List;

/**
 * 客户管理
 * 业务层
 * @author Drj 2021/6/28
 */
public interface ICustomerInfoService {

    /**
     * 客户信息查询
     * @param customerInfo
     * @return
     */
    public List<CustomerInfo> selectCustomerInfoList(CustomerInfo customerInfo);

    /**
     * 按编号查询
     * @param customerInfoId 客户信息编号
     * @return
     */
    public CustomerInfo selectCustomerInfoById(String customerInfoId);
    /**
     * 客户信息新增
     * @param customerInfo
     * @return
     */
    public int insertCustomerInfo(CustomerInfo customerInfo) throws Exception;

    /**
     * 客户信息更新
     * @param customerInfo
     * @return
     */
    public int updateCustomerInfo(CustomerInfo customerInfo) throws Exception;

    /**
     * 更新客户信息删除标志位
     * @param customerInfo
     * @return
     */
    public int updateCustomerInfoDeleteFlag(CustomerInfo customerInfo);


}
